home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
501-525
/
disk_516
/
quotes
/
quotes.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
3KB
|
83 lines
Quotes V1.0
Pseudo-Random Quote Generator
by: Adam Evans
Another semi-useless program.....
A. License
This software is absolutely, totally, unconditionally free. It is
placed in the public domain. You may use, distribute, copy, modify,
destroy, flush, eat, or sneeze on this program, I don't care. It is placed
there for the use of one and all, for the benefit of Amiga users in
general. As a result, no warranty is expressed or implied as to the use of
this program. If you fry your 3000UX because of this, I hold no
responsibility. However, if you modify this program in such a way that you
think it is of benefit to the other people who use it, please let me know
by way of one of the methods described at the end of this doc file.
B. Operation
Very simple, just copy the "Quotes.txt" file included in your archive
to your S: directory, and the "Quotes" file to the C: directory, or
wherever you want to call it from. Type "Quotes". (no quotation marks, of
course..) There should be a delay from 1-5 seconds (for the random number
generator to go through its gyrations) and a quote should appear. The best
place for this is probably in your startup-sequence.
If you don't like the quote file that is given to you, you can create
your own with ease. The default is "S:Quotes.txt". Load up your favorite
editor, and type or load your quotes. Then, at the beginning of your file,
and after each quote, enter a tab stop (with the TAB key). The program
scans for tabs to establish the beginning and end of each entry. After
this is completed, save your file. When you call quotes, you must pass the
new file name and THE NUMBER OF QUOTES IN THE NEW FILE. The program will
not let you use it without both options. Lets say we just typed a file
with 40 quotes in it and saved it as "Alternate.quotes" in the quotes
directory on the workbench disk. When we call Quotes, our command
line would be:
Quotes Workbench:quotes/Alternate.quotes 40
^ ^ ^ ^
| | | |
The program | | |
Path File Name Number of Entries
Nothing to it! "Quotes h" will show you the command line options.
C. Questions, Suggestions, & Updates
I will release updates whenever I find something to add to the program
that will be of real benefit, or that will greatly improve the operation,
speed, or usefulness of it. This program is pretty straightforward, so
don't be suprised if this is the last release. However, the random
function is really primitive, so if you have any suggestions on an improved
random function, on any other part of the program, or any questions at all,
feel free to contact me at:
P.O. Box 12
Manuels, NF
Canada
A1W 1M7
(709)-834-2203
I have just recently recieved a University system account, so if you want
to reach me that way, my address is:
adam@garfield.cs.mun.ca
Note: Users without a batery backed up system clock may find that they get
the same quote/range of quotes if it is called in the startup-sequence.
This would be due to the random function getting the same time, every time,
from the system clock. Remedy: Set your clock before you call "Quotes".
Enjoy!
Adam.
The Adamster
The Adarillo